package es.uji.viselab.experiment;

import es.uji.viselab.benchmark.database.DBConnection;
import es.uji.viselab.benchmark.source.Source;
import es.uji.viselab.network.DataPackage;

public class MoveExperiment extends Experiment {

	public MoveExperiment(DBConnection db, Source s) {
		super(s,db);
	}

	@Override
	public void newDataArrived(DataPackage dn) {
		super.newDataArrived(dn);
	}
	
	@Override
	public void start(){
        super.start();
        source.start();
	}

	@Override
	public void newConnectionStablished() {
		DataPackage dn = new DataPackage("POS",1);
		source.send(dn);
		
	}
	
}
